[INFO] cloning repository https://github.com/Kloenk/rusty-nix
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Kloenk/rusty-nix" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKloenk%2Frusty-nix", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKloenk%2Frusty-nix'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e7998a0067692461072c5257b1087e394dee8fcf
[INFO] checking Kloenk/rusty-nix against master#e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682 for beta-170-4
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKloenk%2Frusty-nix" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Kloenk/rusty-nix on toolchain e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Kloenk/rusty-nix
[INFO] finished tweaking git repo https://github.com/Kloenk/rusty-nix
[INFO] tweaked toml for git repo https://github.com/Kloenk/rusty-nix written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/Kloenk/rusty-nix already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f664cc6b4bc39509ba5de134070cf72d1a30fd66435b3025aab76ddbe7ada54d
[INFO] running `Command { std: "docker" "start" "-a" "f664cc6b4bc39509ba5de134070cf72d1a30fd66435b3025aab76ddbe7ada54d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f664cc6b4bc39509ba5de134070cf72d1a30fd66435b3025aab76ddbe7ada54d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f664cc6b4bc39509ba5de134070cf72d1a30fd66435b3025aab76ddbe7ada54d", kill_on_drop: false }`
[INFO] [stdout] f664cc6b4bc39509ba5de134070cf72d1a30fd66435b3025aab76ddbe7ada54d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d2577b000cde944a3a2e561518e5b5e9eddb471c9581793ed4d178045ea369dd
[INFO] running `Command { std: "docker" "start" "-a" "d2577b000cde944a3a2e561518e5b5e9eddb471c9581793ed4d178045ea369dd", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.80
[INFO] [stderr]    Compiling proc-macro2 v1.0.24
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]    Compiling syn v1.0.48
[INFO] [stderr]    Compiling memchr v2.3.4
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]    Compiling log v0.4.11
[INFO] [stderr]     Checking futures-core v0.3.8
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]     Checking slab v0.4.2
[INFO] [stderr]    Compiling version_check v0.9.2
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]    Compiling typenum v1.12.0
[INFO] [stderr]     Checking smallvec v1.5.0
[INFO] [stderr]    Compiling proc-macro-hack v0.5.19
[INFO] [stderr]     Checking instant v0.1.9
[INFO] [stderr]     Checking once_cell v1.5.2
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling generic-array v0.14.4
[INFO] [stderr]    Compiling proc-macro-nested v0.1.6
[INFO] [stderr]     Checking scopeguard v1.1.0
[INFO] [stderr]    Compiling serde_derive v1.0.117
[INFO] [stderr]     Checking lock_api v0.4.2
[INFO] [stderr]    Compiling quote v1.0.7
[INFO] [stderr]    Compiling tokio v0.3.4
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling pkg-config v0.3.19
[INFO] [stderr]    Compiling serde v1.0.117
[INFO] [stderr]     Checking futures-sink v0.3.8
[INFO] [stderr]     Checking futures-channel v0.3.8
[INFO] [stderr]    Compiling libsqlite3-sys v0.20.1
[INFO] [stderr]     Checking parking_lot_core v0.8.0
[INFO] [stderr]     Checking num_cpus v1.13.0
[INFO] [stderr]     Checking mio v0.7.6
[INFO] [stderr]     Checking signal-hook-registry v1.2.2
[INFO] [stderr]     Checking parking_lot v0.11.1
[INFO] [stderr]     Checking futures-task v0.3.8
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]     Checking futures-io v0.3.8
[INFO] [stderr]     Checking pin-project-lite v0.2.0
[INFO] [stderr]    Compiling cc v1.0.64
[INFO] [stderr]     Checking ahash v0.4.6
[INFO] [stderr]     Checking bytes v0.6.0
[INFO] [stderr]     Checking pin-utils v0.1.0
[INFO] [stderr]    Compiling byteorder v1.3.4
[INFO] [stderr]     Checking hashbrown v0.9.1
[INFO] [stderr]     Checking custom_error v1.8.0
[INFO] [stderr]     Checking time v0.1.44
[INFO] [stderr]     Checking digest v0.9.0
[INFO] [stderr]     Checking block-buffer v0.9.0
[INFO] [stderr]     Checking hashlink v0.6.0
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking aho-corasick v0.7.15
[INFO] [stderr]     Checking thread_local v1.0.1
[INFO] [stderr]     Checking cpuid-bool v0.1.2
[INFO] [stderr]     Checking opaque-debug v0.3.0
[INFO] [stderr]     Checking untrusted v0.7.1
[INFO] [stderr]     Checking fallible-streaming-iterator v0.1.9
[INFO] [stderr]     Checking regex-syntax v0.6.21
[INFO] [stderr]     Checking fallible-iterator v0.2.0
[INFO] [stderr]     Checking spin v0.5.2
[INFO] [stderr]     Checking sha2 v0.9.2
[INFO] [stderr]     Checking chrono v0.4.19
[INFO] [stderr]     Checking nix v0.19.0
[INFO] [stderr]     Checking data-encoding v2.3.1
[INFO] [stderr]     Checking humantime v2.0.1
[INFO] [stderr]     Checking rusqlite v0.24.1
[INFO] [stderr]    Compiling ring v0.16.16
[INFO] [stderr]     Checking unicode-width v0.1.8
[INFO] [stderr]     Checking termcolor v1.1.2
[INFO] [stderr]     Checking lru_time_cache v0.11.2
[INFO] [stderr]     Checking textwrap v0.11.0
[INFO] [stderr]     Checking strsim v0.8.0
[INFO] [stderr]     Checking vec_map v0.8.2
[INFO] [stderr]     Checking ansi_term v0.11.0
[INFO] [stderr]     Checking users v0.10.0
[INFO] [stderr]     Checking regex v1.4.2
[INFO] [stderr]     Checking clap v2.33.3
[INFO] [stderr]     Checking env_logger v0.8.2
[INFO] [stderr]    Compiling pin-project-internal v1.0.2
[INFO] [stderr]    Compiling futures-macro v0.3.8
[INFO] [stderr]    Compiling tokio-macros v0.3.1
[INFO] [stderr]     Checking pin-project v1.0.2
[INFO] [stderr]     Checking futures-util v0.3.8
[INFO] [stderr]     Checking futures-executor v0.3.8
[INFO] [stderr]     Checking futures v0.3.8
[INFO] [stderr]     Checking libutil v0.1.0 (/opt/rustwide/workdir/libutil)
[INFO] [stderr]     Checking libstore v0.1.0 (/opt/rustwide/workdir/libstore)
[INFO] [stdout] warning: named argument `path` is not used by name
[INFO] [stdout]   --> libstore/src/error/mod.rs:21:21
[INFO] [stdout]    |
[INFO] [stdout] 21 |         MissingHash{path: String} = "{} lacks valid signature",
[INFO] [stdout]    |                     ^^^^ this named argument is referred to by position in formatting string
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(named_arguments_used_positionally)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]  --> libstore/src/connection/mod.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::rc::Rc;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Arc`, `RwLock`
[INFO] [stdout]  --> libstore/src/connection/mod.rs:2:17
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::sync::{Arc, RwLock};
[INFO] [stdout]   |                 ^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `LittleEndian`
[INFO] [stdout]  --> libstore/src/connection/mod.rs:4:28
[INFO] [stdout]   |
[INFO] [stdout] 4 | use byteorder::{ByteOrder, LittleEndian};
[INFO] [stdout]   |                            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::net::UnixStream`
[INFO] [stdout]   --> libstore/src/connection/mod.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use tokio::net::UnixStream;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]  --> libstore/src/store/mod.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::sync::Arc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chrono::NaiveDateTime`
[INFO] [stdout]   --> libstore/src/store/mod.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use chrono::NaiveDateTime;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::convert::TryFrom`
[INFO] [stdout]  --> libstore/src/store/local_store.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::convert::TryFrom;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Arc` is imported redundantly
[INFO] [stdout]    --> libstore/src/store/local_store.rs:135:29
[INFO] [stdout]     |
[INFO] [stdout] 14  | use std::sync::{Arc, RwLock};
[INFO] [stdout]     |                 --- the item `Arc` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 135 |             use std::sync::{Arc, Mutex};
[INFO] [stdout]     |                             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::source::AsyncRead`
[INFO] [stdout]    --> libstore/src/store/local_store.rs:348:17
[INFO] [stdout]     |
[INFO] [stdout] 348 |             use crate::source::AsyncRead;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Store`
[INFO] [stdout]  --> libstore/src/store/hash.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | use super::{Store, StoreError};
[INFO] [stdout]   |             ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]  --> libstore/src/archive/mod.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::rc::Rc;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Store`, `store::BuildStore`
[INFO] [stdout]  --> libstore/src/archive/mod.rs:9:13
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::{store::BuildStore, store::WriteStore, Store};
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^^^                     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io`
[INFO] [stdout]   --> libstore/src/archive/mod.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use std::io;
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Mutex`
[INFO] [stdout]   --> libstore/src/archive/mod.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use std::sync::Mutex;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ReadHalf`, `WriteHalf`
[INFO] [stdout]  --> libstore/src/source/mod.rs:4:24
[INFO] [stdout]   |
[INFO] [stdout] 4 | use tokio::net::unix::{ReadHalf, WriteHalf};
[INFO] [stdout]   |                        ^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AsyncReadExt`, `AsyncRead`
[INFO] [stdout]  --> libstore/src/build/derivation/token.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | use super::{AsyncRead, AsyncReadExt, StoreError};
[INFO] [stdout]   |             ^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AsyncSeekExt`, `AsyncSeek`
[INFO] [stdout]  --> libstore/src/build/derivation/token.rs:3:17
[INFO] [stdout]   |
[INFO] [stdout] 3 | use tokio::io::{AsyncSeek, AsyncSeekExt};
[INFO] [stdout]   |                 ^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: named argument `path` is not used by name
[INFO] [stdout]   --> libstore/src/error/mod.rs:21:21
[INFO] [stdout]    |
[INFO] [stdout] 21 |         MissingHash{path: String} = "{} lacks valid signature",
[INFO] [stdout]    |                     ^^^^ this named argument is referred to by position in formatting string
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(named_arguments_used_positionally)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]  --> libstore/src/connection/mod.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::rc::Rc;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Arc`, `RwLock`
[INFO] [stdout]  --> libstore/src/connection/mod.rs:2:17
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::sync::{Arc, RwLock};
[INFO] [stdout]   |                 ^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `LittleEndian`
[INFO] [stdout]  --> libstore/src/connection/mod.rs:4:28
[INFO] [stdout]   |
[INFO] [stdout] 4 | use byteorder::{ByteOrder, LittleEndian};
[INFO] [stdout]   |                            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::net::UnixStream`
[INFO] [stdout]   --> libstore/src/connection/mod.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use tokio::net::UnixStream;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]  --> libstore/src/store/mod.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::sync::Arc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chrono::NaiveDateTime`
[INFO] [stdout]   --> libstore/src/store/mod.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use chrono::NaiveDateTime;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::convert::TryFrom`
[INFO] [stdout]  --> libstore/src/store/local_store.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::convert::TryFrom;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Arc` is imported redundantly
[INFO] [stdout]    --> libstore/src/store/local_store.rs:135:29
[INFO] [stdout]     |
[INFO] [stdout] 14  | use std::sync::{Arc, RwLock};
[INFO] [stdout]     |                 --- the item `Arc` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 135 |             use std::sync::{Arc, Mutex};
[INFO] [stdout]     |                             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::source::AsyncRead`
[INFO] [stdout]    --> libstore/src/store/local_store.rs:348:17
[INFO] [stdout]     |
[INFO] [stdout] 348 |             use crate::source::AsyncRead;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Store`
[INFO] [stdout]  --> libstore/src/store/hash.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | use super::{Store, StoreError};
[INFO] [stdout]   |             ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `StoreError`
[INFO] [stdout]    --> libstore/src/store/hash.rs:174:23
[INFO] [stdout]     |
[INFO] [stdout] 174 |     use super::{Hash, StoreError};
[INFO] [stdout]     |                       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]  --> libstore/src/archive/mod.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::rc::Rc;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Store`, `store::BuildStore`
[INFO] [stdout]  --> libstore/src/archive/mod.rs:9:13
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::{store::BuildStore, store::WriteStore, Store};
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^^^                     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io`
[INFO] [stdout]   --> libstore/src/archive/mod.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use std::io;
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Mutex`
[INFO] [stdout]   --> libstore/src/archive/mod.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use std::sync::Mutex;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `NarError`
[INFO] [stdout]    --> libstore/src/archive/mod.rs:248:17
[INFO] [stdout]     |
[INFO] [stdout] 248 |     use super::{NarError, NarParser};
[INFO] [stdout]     |                 ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `AsyncRead`
[INFO] [stdout]    --> libstore/src/archive/mod.rs:249:43
[INFO] [stdout]     |
[INFO] [stdout] 249 |     use crate::source::{test::Connection, AsyncRead};
[INFO] [stdout]     |                                           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ReadStore`, `StoreError`, `Store`, `WriteStore`
[INFO] [stdout]    --> libstore/src/archive/mod.rs:251:24
[INFO] [stdout]     |
[INFO] [stdout] 251 |     use crate::store::{ReadStore, Store, StoreError, WriteStore};
[INFO] [stdout]     |                        ^^^^^^^^^  ^^^^^  ^^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `log::info`
[INFO] [stdout]    --> libstore/src/archive/mod.rs:253:9
[INFO] [stdout]     |
[INFO] [stdout] 253 |     use log::info;
[INFO] [stdout]     |         ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ReadHalf`, `WriteHalf`
[INFO] [stdout]  --> libstore/src/source/mod.rs:4:24
[INFO] [stdout]   |
[INFO] [stdout] 4 | use tokio::net::unix::{ReadHalf, WriteHalf};
[INFO] [stdout]   |                        ^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AsyncReadExt`, `AsyncRead`
[INFO] [stdout]  --> libstore/src/build/derivation/token.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | use super::{AsyncRead, AsyncReadExt, StoreError};
[INFO] [stdout]   |             ^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this `#[deprecated]` annotation has no effect
[INFO] [stdout]    --> libstore/src/store/valid_path.rs:162:1
[INFO] [stdout]     |
[INFO] [stdout] 162 | #[deprecated = "use try-from version"]
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the unnecessary deprecation attribute
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[deny(useless_deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AsyncSeekExt`, `AsyncSeek`
[INFO] [stdout]  --> libstore/src/build/derivation/token.rs:3:17
[INFO] [stdout]   |
[INFO] [stdout] 3 | use tokio::io::{AsyncSeek, AsyncSeekExt};
[INFO] [stdout]   |                 ^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `StoreError`
[INFO] [stdout]    --> libstore/src/build/derivation/ast.rs:140:31
[INFO] [stdout]     |
[INFO] [stdout] 140 |     use super::{Ast, AstNode, StoreError, TokType};
[INFO] [stdout]     |                               ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this `#[deprecated]` annotation has no effect
[INFO] [stdout]    --> libstore/src/store/valid_path.rs:162:1
[INFO] [stdout]     |
[INFO] [stdout] 162 | #[deprecated = "use try-from version"]
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the unnecessary deprecation attribute
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[deny(useless_deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `parser`
[INFO] [stdout]    --> libstore/src/connection/mod.rs:446:13
[INFO] [stdout]     |
[INFO] [stdout] 446 |         let parser = parser.parse().await.unwrap();
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_parser`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `parser`
[INFO] [stdout]    --> libstore/src/connection/mod.rs:446:13
[INFO] [stdout]     |
[INFO] [stdout] 446 |         let parser = parser.parse().await.unwrap();
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_parser`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> libstore/src/store/hash.rs:73:17
[INFO] [stdout]    |
[INFO] [stdout] 72 |                 panic!("unsupported hash type");
[INFO] [stdout]    |                 ------------------------------- any code following this expression is unreachable
[INFO] [stdout] 73 |                 "unsuported".to_string()
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> libstore/src/store/hash.rs:73:17
[INFO] [stdout]    |
[INFO] [stdout] 72 |                 panic!("unsupported hash type");
[INFO] [stdout]    |                 ------------------------------- any code following this expression is unreachable
[INFO] [stdout] 73 |                 "unsuported".to_string()
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> libstore/src/build/derivation/mod.rs:205:9
[INFO] [stdout]     |
[INFO] [stdout] 198 |             return Ok(ret);
[INFO] [stdout]     |             -------------- any code following this expression is unreachable
[INFO] [stdout] ...
[INFO] [stdout] 205 |         unreachable!()
[INFO] [stdout]     |         ^^^^^^^^^^^^^^ unreachable expression
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `$crate::panic::unreachable_2015` which comes from the expansion of the macro `unreachable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ByteOrder`
[INFO] [stdout]  --> libstore/src/connection/mod.rs:4:17
[INFO] [stdout]   |
[INFO] [stdout] 4 | use byteorder::{ByteOrder, LittleEndian};
[INFO] [stdout]   |                 ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `AsyncBufReadExt`
[INFO] [stdout]  --> libstore/src/build/derivation/mod.rs:3:17
[INFO] [stdout]   |
[INFO] [stdout] 3 | use tokio::io::{AsyncBufReadExt, AsyncRead, AsyncReadExt};
[INFO] [stdout]   |                 ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `client_version`
[INFO] [stdout]   --> libstore/src/connection/mod.rs:74:9
[INFO] [stdout]    |
[INFO] [stdout] 74 |         client_version: u16,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_client_version`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mode`
[INFO] [stdout]    --> libstore/src/store/local_store.rs:113:9
[INFO] [stdout]     |
[INFO] [stdout] 113 |         mode: u8,
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_mode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `worker`
[INFO] [stdout]    --> libstore/src/store/local_store.rs:118:17
[INFO] [stdout]     |
[INFO] [stdout] 118 |             let worker = crate::build::worker::Worker::new();
[INFO] [stdout]     |                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_worker`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `source`
[INFO] [stdout]    --> libstore/src/store/local_store.rs:278:9
[INFO] [stdout]     |
[INFO] [stdout] 278 |         source: &'a str,
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `target`
[INFO] [stdout]    --> libstore/src/store/local_store.rs:279:9
[INFO] [stdout]     |
[INFO] [stdout] 279 |         target: &'a str,
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> libstore/src/store/local_store.rs:328:21
[INFO] [stdout]     |
[INFO] [stdout] 328 |                 let mut info = ValidPathInfo::now(dest_path, hash, nar.len() as u64)?;
[INFO] [stdout]     |                     ----^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `check_sigs`
[INFO] [stdout]    --> libstore/src/store/local_store.rs:344:9
[INFO] [stdout]     |
[INFO] [stdout] 344 |         check_sigs: bool,
[INFO] [stdout]     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_check_sigs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `deriver` is never read
[INFO] [stdout]    --> libstore/src/store/local_store.rs:475:21
[INFO] [stdout]     |
[INFO] [stdout] 475 |             let mut deriver = String::new();
[INFO] [stdout]     |                     ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `nar_size` is never read
[INFO] [stdout]    --> libstore/src/store/local_store.rs:476:21
[INFO] [stdout]     |
[INFO] [stdout] 476 |             let mut nar_size = 0;
[INFO] [stdout]     |                     ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> libstore/src/build/derivation/mod.rs:205:9
[INFO] [stdout]     |
[INFO] [stdout] 198 |             return Ok(ret);
[INFO] [stdout]     |             -------------- any code following this expression is unreachable
[INFO] [stdout] ...
[INFO] [stdout] 205 |         unreachable!()
[INFO] [stdout]     |         ^^^^^^^^^^^^^^ unreachable expression
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `$crate::panic::unreachable_2015` which comes from the expansion of the macro `unreachable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ByteOrder`
[INFO] [stdout]  --> libstore/src/connection/mod.rs:4:17
[INFO] [stdout]   |
[INFO] [stdout] 4 | use byteorder::{ByteOrder, LittleEndian};
[INFO] [stdout]   |                 ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `AsyncBufReadExt`
[INFO] [stdout]  --> libstore/src/build/derivation/mod.rs:3:17
[INFO] [stdout]   |
[INFO] [stdout] 3 | use tokio::io::{AsyncBufReadExt, AsyncRead, AsyncReadExt};
[INFO] [stdout]   |                 ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `client_version`
[INFO] [stdout]   --> libstore/src/connection/mod.rs:74:9
[INFO] [stdout]    |
[INFO] [stdout] 74 |         client_version: u16,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_client_version`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hash_part`
[INFO] [stdout]    --> libstore/src/store/local_store.rs:583:17
[INFO] [stdout]     |
[INFO] [stdout] 583 |             let hash_part = path.hash_part();
[INFO] [stdout]     |                 ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hash_part`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `row`
[INFO] [stdout]    --> libstore/src/store/local_store.rs:700:49
[INFO] [stdout]     |
[INFO] [stdout] 700 |             let data = stm.query_row(&[&path], |row| Ok(true)).unwrap_or(false);
[INFO] [stdout]     |                                                 ^^^ help: if this is intentional, prefix it with an underscore: `_row`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mode`
[INFO] [stdout]    --> libstore/src/store/local_store.rs:113:9
[INFO] [stdout]     |
[INFO] [stdout] 113 |         mode: u8,
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_mode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `worker`
[INFO] [stdout]    --> libstore/src/store/local_store.rs:118:17
[INFO] [stdout]     |
[INFO] [stdout] 118 |             let worker = crate::build::worker::Worker::new();
[INFO] [stdout]     |                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_worker`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `source`
[INFO] [stdout]    --> libstore/src/store/local_store.rs:278:9
[INFO] [stdout]     |
[INFO] [stdout] 278 |         source: &'a str,
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `target`
[INFO] [stdout]    --> libstore/src/store/local_store.rs:279:9
[INFO] [stdout]     |
[INFO] [stdout] 279 |         target: &'a str,
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> libstore/src/store/local_store.rs:328:21
[INFO] [stdout]     |
[INFO] [stdout] 328 |                 let mut info = ValidPathInfo::now(dest_path, hash, nar.len() as u64)?;
[INFO] [stdout]     |                     ----^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `check_sigs`
[INFO] [stdout]    --> libstore/src/store/local_store.rs:344:9
[INFO] [stdout]     |
[INFO] [stdout] 344 |         check_sigs: bool,
[INFO] [stdout]     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_check_sigs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `deriver` is never read
[INFO] [stdout]    --> libstore/src/store/local_store.rs:475:21
[INFO] [stdout]     |
[INFO] [stdout] 475 |             let mut deriver = String::new();
[INFO] [stdout]     |                     ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `nar_size` is never read
[INFO] [stdout]    --> libstore/src/store/local_store.rs:476:21
[INFO] [stdout]     |
[INFO] [stdout] 476 |             let mut nar_size = 0;
[INFO] [stdout]     |                     ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hash_part`
[INFO] [stdout]    --> libstore/src/store/local_store.rs:583:17
[INFO] [stdout]     |
[INFO] [stdout] 583 |             let hash_part = path.hash_part();
[INFO] [stdout]     |                 ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hash_part`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `row`
[INFO] [stdout]    --> libstore/src/store/local_store.rs:700:49
[INFO] [stdout]     |
[INFO] [stdout] 700 |             let data = stm.query_row(&[&path], |row| Ok(true)).unwrap_or(false);
[INFO] [stdout]     |                                                 ^^^ help: if this is intentional, prefix it with an underscore: `_row`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ret`
[INFO] [stdout]    --> libstore/src/archive/mod.rs:281:13
[INFO] [stdout]     |
[INFO] [stdout] 281 |         let ret = parser.parse().await.unwrap();
[INFO] [stdout]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_ret`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_hash_part` is never used
[INFO] [stdout]    --> libstore/src/store/local_store.rs:727:4
[INFO] [stdout]     |
[INFO] [stdout] 727 | fn get_hash_part(path: &std::path::PathBuf) -> String {
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ret`
[INFO] [stdout]    --> libstore/src/archive/mod.rs:358:13
[INFO] [stdout]     |
[INFO] [stdout] 358 |         let ret = parser.parse().await.unwrap();
[INFO] [stdout]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_ret`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `user`, `supplementary_gids`, and `file` are never read
[INFO] [stdout]   --> libstore/src/build/user.rs:9:5
[INFO] [stdout]    |
[INFO] [stdout] 8  | pub struct UserLock {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] 9  |     user: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 12 |     supplementary_gids: Vec<gid_t>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 13 |
[INFO] [stdout] 14 |     file: std::fs::File,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `UserLock` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `last_woken_up` is never read
[INFO] [stdout]   --> libstore/src/build/worker.rs:35:5
[INFO] [stdout]    |
[INFO] [stdout] 1  | pub struct Worker {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 35 |     last_woken_up: std::time::SystemTime,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> libstore/src/connection/mod.rs:435:9
[INFO] [stdout]     |
[INFO] [stdout] 435 |         std::fs::remove_dir_all(&extract_file); // TODO: fix this hotfix
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 435 |         let _ = std::fs::remove_dir_all(&extract_file); // TODO: fix this hotfix
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> libstore/src/store/local_store.rs:80:61
[INFO] [stdout]    |
[INFO] [stdout] 80 |                     std::ffi::CString::new("none").unwrap().as_ptr(),
[INFO] [stdout]    |                     --------------------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout]    = note: `#[warn(temporary_cstring_as_ptr)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> libstore/src/store/local_store.rs:305:17
[INFO] [stdout]     |
[INFO] [stdout] 305 |                 self.delete_path(&dest_path).await;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 305 |                 let _ = self.delete_path(&dest_path).await;
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> libstore/src/store/local_store.rs:420:13
[INFO] [stdout]     |
[INFO] [stdout] 420 |             std::fs::remove_dir_all(&path);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 420 |             let _ = std::fs::remove_dir_all(&path);
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 41 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `libstore` (lib) due to 2 previous errors; 41 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: function `get_hash_part` is never used
[INFO] [stdout]    --> libstore/src/store/local_store.rs:727:4
[INFO] [stdout]     |
[INFO] [stdout] 727 | fn get_hash_part(path: &std::path::PathBuf) -> String {
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `user`, `supplementary_gids`, and `file` are never read
[INFO] [stdout]   --> libstore/src/build/user.rs:9:5
[INFO] [stdout]    |
[INFO] [stdout] 8  | pub struct UserLock {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] 9  |     user: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 12 |     supplementary_gids: Vec<gid_t>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 13 |
[INFO] [stdout] 14 |     file: std::fs::File,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `UserLock` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `last_woken_up` is never read
[INFO] [stdout]   --> libstore/src/build/worker.rs:35:5
[INFO] [stdout]    |
[INFO] [stdout] 1  | pub struct Worker {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 35 |     last_woken_up: std::time::SystemTime,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> libstore/src/connection/mod.rs:435:9
[INFO] [stdout]     |
[INFO] [stdout] 435 |         std::fs::remove_dir_all(&extract_file); // TODO: fix this hotfix
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 435 |         let _ = std::fs::remove_dir_all(&extract_file); // TODO: fix this hotfix
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> libstore/src/store/local_store.rs:80:61
[INFO] [stdout]    |
[INFO] [stdout] 80 |                     std::ffi::CString::new("none").unwrap().as_ptr(),
[INFO] [stdout]    |                     --------------------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout]    = note: `#[warn(temporary_cstring_as_ptr)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> libstore/src/store/local_store.rs:305:17
[INFO] [stdout]     |
[INFO] [stdout] 305 |                 self.delete_path(&dest_path).await;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 305 |                 let _ = self.delete_path(&dest_path).await;
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> libstore/src/store/local_store.rs:420:13
[INFO] [stdout]     |
[INFO] [stdout] 420 |             std::fs::remove_dir_all(&path);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 420 |             let _ = std::fs::remove_dir_all(&path);
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 49 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `libstore` (lib test) due to 2 previous errors; 49 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "d2577b000cde944a3a2e561518e5b5e9eddb471c9581793ed4d178045ea369dd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d2577b000cde944a3a2e561518e5b5e9eddb471c9581793ed4d178045ea369dd", kill_on_drop: false }`
[INFO] [stdout] d2577b000cde944a3a2e561518e5b5e9eddb471c9581793ed4d178045ea369dd
